<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" 
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4" 
      lang="cn">
  <head>
    <meta charset="UTF-8">
    <title>应用新增</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    
     <link rel="shortcut icon" th:href="@{/favicon.ico}" type="image/x-icon" />
     <link rel="stylesheet" th:href="@{/jstree/themes/default/style.min.css}" />
    <link rel="stylesheet" th:href="@{/css/font-awesome.min.css}">
	<link rel="stylesheet" th:href="@{/css/xadmin.css}">
	<script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>
    <script type="text/javascript" th:src="@{/layui/layui.js}" charset="utf-8"></script>
    <script type="text/javascript" th:src="@{/js/pinyinUtil.js}"></script>
    <script type="text/javascript" th:src="@{/js/xadmin.js}"></script>
    <script type="text/javascript" th:src="@{/js/common.js}"></script>
    <script type="text/javascript" th:src="@{/js/app-add.js}"></script>
    <style>
     .layui-form-item{margin-bottom:5px;}
    </style>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script th:src="@{/js/html5shiv.min.js}"></script>
      <script th:src="@{/js/respond.min.js}"></script>
    <![endif]-->
  </head>
  
  <body>
    <div class="x-body">
        <form class="layui-form">
          <div class="layui-form-item">
              <label for="appName" class="layui-form-label">
                  <span class="x-red">*</span>应用名称
              </label>
              <div class="layui-input-block">
                  <input type="text" id="appName" autocomplete="off" class="layui-input" maxlength="15">
              </div>
          </div>
          <div class="layui-form-item">
              <label for="appNumber" class="layui-form-label" >
                  <span class="x-red">*</span>应用编码
              </label>
              <div class="layui-input-block">
                  <input type="text" id="appNumber" autocomplete="off" class="layui-input" maxlength="15">
              </div>
          </div>
          <div class="layui-form-item">
              <label for="platform" class="layui-form-label">
                  <span class="x-red">*</span>平台
              </label>
              <div class="layui-input-block">
                 <select id="platform" lay-filter="platform">
				    <option value="1">ANDROID</option>
					<option value="2">IOS</option>
				 </select>
              </div>
          </div>
		  
		   <div class="layui-form-item">
              <label for="appName" class="layui-form-label">
                 BoundID
              </label>
              <div class="layui-input-block">
                  <input type="text" id="boundId" autocomplete="off" class="layui-input" maxlength="33">
              </div>
          </div>
		  
		  <div class="layui-form-item">
              <label for="appType" class="layui-form-label">
                  <span class="x-red">*</span>应用类型
              </label>
              <div class="layui-input-block">
                 <select id="appType" lay-filter="appType1">
				    
				 </select>
              </div>
          </div>
          <div class="layui-form-item">
              <label for="appType" class="layui-form-label">
                  <span class="x-red">*</span>应用文件
              </label>
              <div class="layui-input-block">
                 <input type="hidden" id="fileId"/>
                 <input id="fileName" class="layui-input" disabled style="display:inline-block;width:190px;"/>
                <button type="button" class="layui-btn" id="fileUpload"><i class="layui-icon"></i>上传文件</button>
              </div>
          </div>
		   <div class="layui-form-item">
              <label for="editStatus" class="layui-form-label">
                  <span class="x-red">*</span>应用状态
              </label>
              <div class="layui-input-block">
                 <select id="editStatus">
				    <option value="1">有效</option>
					<option value="2">删除</option>
				 </select>
              </div>
          </div>
		  
		 <div class="layui-form-item">
			<label class="layui-form-label">备注</label>
			<div class="layui-input-block">
			   <textarea placeholder="请输入内容" id="remark" class="layui-textarea" style="min-height:0;height:50px;" maxlength=150></textarea>
           </div>
        </div>
				  
      </form>
	   <div class="layui-form-item" style="text-align:center;">
              <button id="savebtn"  class="layui-btn"  type="button"   >
			   <i class="fa fa-floppy-o" style="margin-right:10px;"></i>保存
			  </button>
          </div>
    </div>
   
  </body>

</html>